﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dishadd.aspx.cs" Inherits="OF.Web.admin.dishadd" %>

<%@ Register Assembly="OF.Controls" Namespace="OF.Controls" TagPrefix="cc1" %>
<%@ Register Src="~/admin/controls/head.ascx" TagPrefix="uc1" TagName="head" %>
<%@ Register Src="~/admin/controls/footer.ascx" TagPrefix="uc1" TagName="footer" %>
<%@ Register Src="~/admin/controls/menu.ascx" TagPrefix="uc1" TagName="menu" %>

<!DOCTYPE HTML>
<html>
<head>
    <title>商户资料</title>
    <meta charset="gbk">
    <link href="res/css/main.css" rel="stylesheet">
    <link href="res/css/public.css" rel="stylesheet">

    <link href="res/css/table.css" rel="stylesheet">
      <script type="text/javascript" src="res/js/jquery-1.8.0.min.js"></script>
</head>
<body>

    <form id="form1" runat="server">
        <uc1:head runat="server" ID="head" />

        <div id="page">
            <div class="clearfix" id="content">
                <div class="col-main">
                    <div class="main-wrap">
                        <div class="division">
                            <table>
                                <tr>
                                    <td>菜名:</td>
                                    <td>
                                        <cc1:OFTextBox ID="txtdishname" CssClass="ipt ipt-150" runat="server" MaxLength="20" CanBeNull="必填"></cc1:OFTextBox></td>
                                </tr>
                                <tr>
                                    <td>菜类:</td>
                                    <td>
                                        <asp:DropDownList ID="ddlCart" runat="server" CssClass="radiobuttonlist"></asp:DropDownList></td>
                                </tr>
                                <tr>
                                    <td>价格:</td>
                                    <td>
                                        <cc1:OFTextBox ID="txtprice" runat="server" CssClass="ipt ipt-150" CanBeNull="必填" RequiredFieldType="数据校验" CheckNumForKey="true" checkNum="2"></cc1:OFTextBox></td>
                                </tr>
                                <tr>
                                    <td>描述:</td>
                                    <td>
                                        <cc1:OFTextBox ID="txtdesc" runat="server" CssClass="ipt ipt-150"></cc1:OFTextBox></td>
                                </tr>
                                <tr>
                                    <td>图片:</td>
                                    <td>
                                        <asp:Image ID="imgphoto" runat="server" ImageUrl="res/image/nopic.png"/>
                                        <asp:HiddenField ID="hfPicName" runat="server" />
                                        <asp:FileUpload ID="fileUpLogo" runat="server" />
                                        <asp:Button ID="btnPicSure" runat="server" Text="上传" OnClick="btnPicSure_Click" CssClass="rz-deep-btn" />
                                        <asp:Label ID="lblShow" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>
                                        <asp:CheckBox ID="cbhot" runat="server" />热单&nbsp;<asp:CheckBox ID="cbnew" runat="server" />新单</td>
                                </tr>
                                <tr>
                                    <td>状态:</td>
                                    <td>
                                        <asp:DropDownList ID="ddlState" runat="server" CssClass="radiobuttonlist">
                                            <asp:ListItem Value="1">正常</asp:ListItem>
                                            <asp:ListItem Value="0">下架</asp:ListItem>
                                        </asp:DropDownList></td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:HiddenField ID="hfid" runat="server" />
                                        <asp:Button ID="btnSave" CssClass="rz-deep-btn" runat="server" Text="保存" OnClick="btnSave_Click" />
                                    </td>

                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
                <uc1:menu runat="server" ID="menu" />
            </div>
        </div>


          <uc1:footer runat="server" ID="footer" />
    </form>
</body>
</html>

